package com.dogkr.server.mapper;

import com.dogkr.server.entity.UserMessage;

public interface UserMessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserMessage record);

    int insertSelective(UserMessage record);

    UserMessage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserMessage record);

    int updateByPrimaryKeyWithBLOBs(UserMessage record);

    int updateByPrimaryKey(UserMessage record);
    
    int checkUnreadByUserId(Long userId);

	int updateByOrderKeySelective(UserMessage record);
}